#include "devices_zigbee_control.h"


void devices_zigbee_control_init()
{

  RCC->APB2ENR |= (1 << 2);
	GPIOA->CRL &=~( 15 << 20);
	GPIOA->CRL |=( 1 << 21);
	GPIOA->ODR |= (1 << 5);

}

void devices_zigbee_control_open()
{
  GPIOA->ODR &=~(1 << 5);

}

void devices_zigbee_control_close()
{
  GPIOA->ODR |=(1 << 5);

}